package com.wolfcode.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author yinyin
 * @create 2022/08/21 上午 11:27
 */
@Controller
public class HelloController {

    @GetMapping("hello")
    public String hello(){
        return "index";
    }

    @GetMapping("dashboard")
    public String dashboard(){
        return "dashboard";
    }
}
